package com.zm.se.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Equipment implements Serializable {

  private static final long serialVersionUID = -2804956981106642455L;

  @ExcelIgnore//不输出
  private Integer id;
  @ExcelProperty(index = 0,value = "器材名称")
  private String ename;
  @ExcelProperty(index = 1,value = "器材数量")
  private Integer enumber;
  @ExcelProperty(index = 2,value = "计量单位")
  private String unit;
  @ExcelProperty(index = 3,value = "器材单价")
  private double price;
  @ExcelProperty(index = 4,value = "器材供应商")
  private String sup;
  @ExcelProperty(index = 5,value = "供应商电话")
  private String phone;
  @ExcelProperty(index = 6,value = "供应商地址")
  private String address;
  @ExcelProperty(index = 7,value = "供应商电子邮件")
  private String email;

  public String getUnit() {
    return unit;
  }

  public void setUnit(String unit) {
    this.unit = unit;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public String getEname() {
    return ename;
  }

  public void setEname(String ename) {
    this.ename = ename;
  }

  public Integer getEnumber() {
    return enumber;
  }

  public void setEnumber(Integer enumber) {
    this.enumber = enumber;
  }

  public double getPrice() {
    return price;
  }

  public void setPrice(double price) {
    this.price = price;
  }

  public String getSup() {
    return sup;
  }

  public void setSup(String sup) {
    this.sup = sup;
  }

  public String getPhone() {
    return phone;
  }

  public void setPhone(String phone) {
    this.phone = phone;
  }

  public String getAddress() {
    return address;
  }

  public void setAddress(String address) {
    this.address = address;
  }

  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }
}
